<?php $category = $this->object ?>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span3"><?php echo $this->partial('choix/menu.phtml') ?></div>
        <div class="span9">
            <div class="wrap">
                <div id="main-content">
                    <form class="form-horizontal" name="frm" method="post" action="<?php echo $this->baseUrl();?>/admin/category/save">
                        <input type="hidden" name="num_vente" value="<?php echo $this->numVente ?>" />
                        <input type="hidden" name="id" value="<?php echo $this->request()->getParam('id') ?>" />
                        <h3>Edition</h3>
                        <div class="control-group">
                        	<label class="control-label" for="nom">Nom :</label>
                        	<div class="controls">
                        		<input type="text" name="data[nom]" id="nom" value="<?php echo $category->getNom() ?>" placeholder="Nom" required="required" />
                        	</div>
                        </div>
                        <div class="control-group">
                        	<label class="control-label" for="ordre">Ordre :</label>
                        	<div class="controls">
                        		<input type="text" name="data[ordre]" id="ordre" value="<?php echo $category->getOrdre() ?>" size="4" maxlength="4" placeholder="Ordre" />
                        	</div>
                        </div>
                        <div class="control-group">
                        	<label class="control-label" for="tva">TVA :</label>
                        	<div class="controls">
                        		<input type="text" name="data[tva]" id="tva" size="4" maxlength="4" value="<?php echo $category->getTva() ?>" placeholder="TVA" /> %
                        	</div>
                        </div>
                        <div align="center" style="width:500px"><input class="btn btn-primary" type="submit" name="submit" value="Sauve"></div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>